package br.com.foxinline.util;

///*
// * To change this template, choose Tools | Templates
// * and open the template in the editor.
// */
//package br.com.foxline.util;
//
//import br.com.foxline.enums.Status;
//import br.com.foxline.enums.TypeAnnex;
//import br.com.foxline.model.Annex;
//import br.com.foxline.model.Requirement;
//import java.util.ArrayList;
//import java.util.List;
//
///**
// *
// * @author ely
// */
//public class Document {
//
//    public void docAverbacao(Annex annex, Requirement requirement) {
//        List<TypeAnnex> typeAnnexs = new ArrayList<TypeAnnex>();
//        typeAnnexs.add(TypeAnnex.REGISTRO_IMOVEL);
//        typeAnnexs.add(TypeAnnex.ESCRITURA_PUBLICA);
//        
//        List<TypeAnnex> typeAnnexNew = new ArrayList<TypeAnnex>();
//        if(requirement.getAnnex() != null){
//            for(Annex a :requirement.getAnnex()){
//                typeAnnexNew.add(a.getType_annex());
//                if(typeAnnexNew.equals(typeAnnexs)){
//                    System.out.println("IGUAL");
//                }else{
//                    System.out.println("NAO IGUAL");
//                }
//            }
//        }
//    }
//
//
//    public void docAlvaraCons(Annex annex, Requirement requirement) {
//        if (annex.getType_annex() == TypeAnnex.RG && annex.getType_annex() == TypeAnnex.CPF) {
//            requirement.setStatus(Status.IPTU_DESPACHO);
//        } else {
//            requirement.setStatus(Status.DOCPENDENTE);
//        }
//    }
//}
